package xian.woniu.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Appointment implements Serializable {
    private Integer aid;

    private Integer did;

    private Integer pid;

    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date atime;

    private String astate;

//    自定义数据
    private Doctor doctor;

    private Patient patient;

    private static final long serialVersionUID = 1L;

}